// 测试界面样式
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background: #f6f7f8;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// Tab选择栏
.demo {
    position: fixed;
    top: 12vw;
    left: 0;
    display: flex;
    justify-content: space-around;
    width: 100vw;
    height: 10vw;
    background-color: #019fe6;
    z-index: 999;

    .total {
        width: 20vw;
        height: 8vw;
        margin-top: .5vw;
        border-bottom: .6vw solid #fff;
        font: normal bold 4.8vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #fff;
    }

    .rank {
        width: 20vw;
        height: 8vw;
        margin-top: .5vw;
        font: normal bold 4.8vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #f6f7f8;
    }

}

// 主内容
.main {

    // 数据总览
    #content_1 {

        // 销售额
        .demo1 {
            width: 96vw;
            border-radius: 3vw;
            margin: 25vw auto 5vw;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 9.8vw;
                border-bottom: .2vw solid #f6f7f8;
                font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
                text-indent: 12vw;
                color: #019fe6;

                &::before {
                    content: "";
                    position: absolute;
                    top: 1.5vw;
                    left: 4vw;
                    width: 7vw;
                    height: 7vw;
                    background: url(../images/销售额.png)no-repeat center;
                    background-size: contain;
                }
            }

            .content {
                display: flex;

                li {
                    width: 32vw;
                    height: 12.8vw;
                    border-bottom: .2vw solid #f6f7f8;
                    font: normal normal 3.8vw/8vw "Microsoft YaHei";
                    text-align: center;
                    color: #999;
                }

                .li1 {
                    position: relative;

                    &::before {
                        content: "21";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #f39e28;
                    }
                }

                .li2 {
                    position: relative;

                    &::before {
                        content: "48";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #ef5f1d;
                    }
                }

                .li3 {
                    position: relative;

                    &::before {
                        content: "168";
                        position: absolute;
                        top: 6vw;
                        left: 13.2vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #cf3340;
                    }
                }
            }

            .chart {
                width: 96vw;
                height: 36vw;
                background: url(../images/统计图.png) no-repeat center bottom;
                background-size: cover;
            }
        }

        // 收益额 
        .demo2 {
            width: 96vw;
            border-radius: 3vw;
            margin: 5vw auto;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 9.8vw;
                border-bottom: .2vw solid #f6f7f8;
                font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
                text-indent: 12vw;
                color: #019fe6;

                &::before {
                    content: "";
                    position: absolute;
                    top: 1.5vw;
                    left: 4vw;
                    width: 7vw;
                    height: 7vw;
                    background: url(../images/收益数据.png)no-repeat center;
                    background-size: contain;
                }
            }

            .content {
                display: flex;

                li {
                    width: 32vw;
                    height: 12.8vw;
                    border-bottom: .2vw solid #f6f7f8;
                    font: normal normal 3.8vw/8vw "Microsoft YaHei";
                    text-align: center;
                    color: #999;
                }

                .li1 {
                    position: relative;

                    &::before {
                        content: "21";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #f39e28;
                    }
                }

                .li2 {
                    position: relative;

                    &::before {
                        content: "48";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #ef5f1d;
                    }
                }

                .li3 {
                    position: relative;

                    &::before {
                        content: "168";
                        position: absolute;
                        top: 6vw;
                        left: 13.2vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #cf3340;
                    }
                }
            }

            .chart {
                width: 96vw;
                height: 36vw;
                background: url(../images/统计图.png) no-repeat center bottom;
                background-size: cover;
            }
        }

        // 订单量 
        .demo3 {
            width: 96vw;
            border-radius: 3vw;
            margin: 5vw auto 30vw;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 9.8vw;
                border-bottom: .2vw solid #f6f7f8;
                font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
                text-indent: 12vw;
                color: #019fe6;

                &::before {
                    content: "";
                    position: absolute;
                    top: 1.5vw;
                    left: 4vw;
                    width: 7vw;
                    height: 7vw;
                    background: url(../images/订单量.png)no-repeat center;
                    background-size: contain;
                }
            }

            .content {
                display: flex;

                li {
                    width: 32vw;
                    height: 12.8vw;
                    border-bottom: .2vw solid #f6f7f8;
                    font: normal normal 3.8vw/8vw "Microsoft YaHei";
                    text-align: center;
                    color: #999;
                }

                .li1 {
                    position: relative;

                    &::before {
                        content: "21";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #f39e28;
                    }
                }

                .li2 {
                    position: relative;

                    &::before {
                        content: "48";
                        position: absolute;
                        top: 6vw;
                        left: 14vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #ef5f1d;
                    }
                }

                .li3 {
                    position: relative;

                    &::before {
                        content: "168";
                        position: absolute;
                        top: 6vw;
                        left: 13.2vw;
                        font-size: 4vw;
                        font-weight: bold;
                        color: #cf3340;
                    }
                }
            }

            .chart {
                width: 96vw;
                height: 36vw;
                background: url(../images/统计图.png) no-repeat center bottom;
                background-size: cover;
            }
        }
    }

    // 商家统计
    #content_2 {

        // 总数据展示栏
        .demo1 {
            width: 96vw;
            margin: 24vw auto 0;
            border-radius: 2vw;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 10vw;
                font: normal bold 4.5vw/10vw "Microsoft YaHei";
                text-indent: 12vw;

                &::before {
                    content: "";
                    position: absolute;
                    top: 1.5vw;
                    left: 4vw;
                    width: 7vw;
                    height: 7vw;
                    background: url(../images/奖杯.png) no-repeat center;
                    background-size: contain;
                }
            }

            .content {
                display: flex;
                justify-content: space-around;
                width: 96vw;
                height: 12vw;

                li {
                    width: 18vw;
                    height: 8vw;
                    margin-top: 2vw;
                    background-color: #f6f7f8;
                    font: normal normal 4.5vw/8vw "Microsoft YaHei";
                    text-align: center;
                    color: #333;
                }

                .li1 {
                    background-color: rgba(1, 159, 230, .15);
                    color: #019fe6;
                }
            }
        }

        // 商家收益排行
        .demo2 {
            width: 96vw;
            border-radius: 3vw;
            margin: 5vw auto;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 9.8vw;
                border-bottom: .2vw solid #f6f7f8;
                font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
                text-indent: 5vw;

                &::before {
                    content: "商家名称";
                    position: absolute;
                    top: 1.2vw;
                    left: 21vw;
                    font: normal normal 3.8vw/7.8vw "Microsoft YaHei";
                    text-indent: 0vw;
                    color: #666;
                }

                &::after {
                    content: "收益金额(元)";
                    position: absolute;
                    top: 1.2vw;
                    right: 5vw;
                    font: normal normal 3.8vw/7.8vw "Microsoft YaHei";
                    text-indent: 0vw;
                    color: #666;
                }
            }

            .content {

                .data_1 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/one.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }

                .data_2 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/two.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }

                .data_3 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/three.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }
            }
        }

        // 商家订单排行
        .demo3 {
            width: 96vw;
            border-radius: 3vw;
            margin: 5vw auto 24vw;
            background-color: #fff;

            .title {
                position: relative;
                width: 96vw;
                height: 9.8vw;
                border-bottom: .2vw solid #f6f7f8;
                font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
                text-indent: 5vw;

                &::before {
                    content: "商家名称";
                    position: absolute;
                    top: 1.2vw;
                    left: 21vw;
                    font: normal normal 3.8vw/7.8vw "Microsoft YaHei";
                    text-indent: 0vw;
                    color: #666;
                }

                &::after {
                    content: "订单数量(笔)";
                    position: absolute;
                    top: 1.2vw;
                    right: 5vw;
                    font: normal normal 3.8vw/7.8vw "Microsoft YaHei";
                    text-indent: 0vw;
                    color: #666;
                }
            }

            .content {

                .data_1 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/one.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }

                .data_2 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/two.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }

                .data_3 {
                    display: flex;
                    position: relative;

                    li {
                        width: 48vw;
                        height: 8vw;
                        font: normal normal 3.8vw/8vw "Microsoft YaHei";
                        text-indent: 21vw;
                        color: #666;
                    }

                    .li1 {
                        position: absolute;
                        top: .5vw;
                        left: 7.8vw;
                        width: 7vw;
                        height: 7vw;
                        background: url(../images/three.png) no-repeat center;
                        background-size: contain;
                    }

                    .li3 {
                        text-indent: 32vw;
                        color: #333;
                        font-weight: bold;
                    }
                }
            }
        }
    }
}


// 底部菜单--模块
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 16vw;
    box-shadow: 0.2vw 0 0.2vw 0.2vw #ddd;
    background: #fff;

    a {
        width: 16vw;
        height: 16vw;

        img {
            width: 16vw;
            height: 16vw;
        }
    }
}